home *** CD-ROM | disk | FTP | other *** search
/ Aminet 8 / Aminet 8 (1995)(GTI - Schatztruhe)[!][Oct 1995].iso / Aminet / dev / amos / AMOS_0795.lzh / AMOSLIST / 000155_amos-request@svcs1.digex.net_Wed Jul 26 07:51:26 1995.msg < prev    next >
Internet Message Format  |  1995-08-04  |  3KB

  1. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id HAA01800;  for  ; Wed, 26 Jul 1995 07:51:22 -0400
  2. Received: (from daemon@localhost) by svcs1.digex.net (8.6.12/8.6.12) id FAA25977 for amos-out; Wed, 26 Jul 1995 05:24:14 -0400
  3. Received: from mail1.access.digex.net (mail1.access.digex.net [205.197.247.2]) by svcs1.digex.net (8.6.12/8.6.12) with ESMTP id FAA25974 for <amos-list@svcs1.digex.net>; Wed, 26 Jul 1995 05:24:13 -0400
  4. Received: from wn1.sci.kun.nl (wn1.sci.kun.nl [131.174.8.1]) by mail1.access.digex.net (8.6.12/8.6.12) with ESMTP id FAA25608;  for <amos-list@access.digex.net> ; Wed, 26 Jul 1995 05:24:12 -0400
  5. Received: from mpih17 by wn1.sci.kun.nl via mpih17.mpi.nl [192.87.79.57] with SMTP 
  6.     id LAA25238 (8.6.10/2.11); Wed, 26 Jul 1995 11:24:09 +0200
  7. Received: by mpih17 (1.38.193.4/2.1) on NUNET
  8.      id AA18926; Wed, 26 Jul 1995 11:23:12 +0200
  9. Date: Wed, 26 Jul 1995 11:23:11 +0200 (METDST)
  10. From: Branko Collin <bcollin@mpi.nl>
  11. X-Sender: bcollin@mpih17
  12. To: S93044370@acs.saultc.on.ca
  13. Cc: amos-list@access.digex.net
  14. Subject: Re: Challenge!
  15. In-Reply-To: <01HTB5A5A65E0003HG@ACS.SAULTC.ON.CA>
  16. Message-Id: <Pine.HPP.3.91.950726111523.18863A-100000@mpih17>
  17. Mime-Version: 1.0
  18. Content-Type: TEXT/PLAIN; charset=US-ASCII
  19. Status: RO
  20. X-Status: 
  21.  
  22. On Wed, 26 Jul 1995 S93044370@acs.saultc.on.ca wrote:
  23.  
  24. > I have a challenge for everyone on this list, I just hope people will take
  25. > me up on it.
  26. >     I wrote about this before, but got no response, but I'll try again.
  27. > What I need is a routine to transfer RGB colour values to HSV (Hue, Saturation,
  28. > value) and back to RGB. I've tried to do it myself, but I'm completey stumped
  29. > A friend of mine has gone from HSV to RGB in 35 lines of code, but surely it
  30. > can be done more efficently than that. I need it for a palette editor I'm
  31. > writing, it would be very useful to me.
  32.  
  33. I have a routine in the Procedure Library that tries and finds the most, 
  34. middlest and least bright colours on the current screen. Accompagnying it 
  35. is a small procedure that calculates the brightness from RGB-values. I 
  36. cannot remember the name of the procedure, but since I only submitted two 
  37. procedures, and the other one is called SimpleArc, you should have no 
  38. trouble finding it.
  39.  
  40. Now if you could tell me what HSV actually mean, instead of just saying 
  41. what they stand for, then I could give your challenge a crack. 
  42.  
  43. .......................................................................
  44. .       Branko Collin          .  'Zij ontmoetten elkaar in Gent,     .
  45. .                              .   parel van de Belgische Ardennen    .
  46. .   //  u249026@vm.uci.kun.nl  .   en overbekend om zijn prachtige    .
  47. . \X/   bcollin@mpi.nl         .   tulpenvelden.' - Wereld Nonsens    .
  48. .......................................................................